<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<ContentItemViewModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Edit
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<div class="editContentItemPage">

    <h2>Edit Content Item</h2>
    
    <%= Html.WrappedValidationSummary() %>
    
    <% using (Html.BeginForm()) { %>
        <fieldset>
            <% Html.RenderPartial("ContentItemFields", Model); %>
            <input type="submit" value="Save" />
            <%= Html.ActionLink("Cancel", "List", new { id = Model.Group.ContentGroupId }) %>
        </fieldset>
    <% } %>
</div>

</asp:Content>
